#!/bin/bash
clear
javac com/android/camara/NativeLib.java
javah com.android.camara.NativeLib
gcc -bundle -I/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers imageProcess.c -o libNativeLib.jnilib -framework JavaVM
cp libNativeLib.jnilib ~/Documents/workspace/Camara/libs/armeabi/